LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_C_INCLUDES :=  $(LOCAL_PATH) \

LOCAL_SRC_FILES := SQRService.cpp
LOCAL_MODULE := libsqrservice

LOCAL_SHARED_LIBRARIES := \
	libui \
    liblog \
    libutils \
    libbinder \
    libcutils
	
LOCAL_CFLAGS += -Wall -Wextra

include $(BUILD_SHARED_LIBRARY)

###################### sqrserver ######################
include $(CLEAR_VARS)

LOCAL_C_INCLUDES := $(LOCAL_PATH) \
					
LOCAL_SRC_FILES := sqrserver.cpp
LOCAL_MODULE := sqrserver

LOCAL_SHARED_LIBRARIES := \
    liblog \
    libutils \
    libbinder \
    libcutils \
	libsqrservice

include $(BUILD_EXECUTABLE)

###################### sqrclient ######################
include $(CLEAR_VARS)

LOCAL_C_INCLUDES := $(LOCAL_PATH) \
					
LOCAL_SRC_FILES := sqrclient.cpp
LOCAL_MODULE := sqrclient

LOCAL_SHARED_LIBRARIES := \
    liblog \
    libutils \
    libbinder \
    libcutils \

include $(BUILD_EXECUTABLE)




